//===============================================================================
//	CLoseBlood.cpp
//	ʧѪ
//===============================================================================

#include "CLoseBlood.h"

//-------------------------------------------------------------------------------
CLoseBlood::CLoseBlood(uint32_t uid, uint32_t pn)
	: BaseMessage(uid, pn)
{
	_safe_guard_begin;
	_safe_guard_end;
}

//-------------------------------------------------------------------------------
CLoseBlood::~CLoseBlood()
{
}

//-------------------------------------------------------------------------------
void CLoseBlood::SetParameter(uint32_t sourceKey, uint32_t targetKey,
	uint32_t skillId, int32_t hp, double baseValue)
{
	_safe_guard_begin;

	m_jv["sk"] = sourceKey;
	m_jv["tk"] = targetKey;
	m_jv["hp"] = hp;
	m_jv["sd"] = skillId;
	m_jv["bv"] = baseValue;

	_safe_guard_end;
}
